package com.dq.service.mall;

import com.dq.exception.customException.AdminException;
import com.dq.controller.in.request.BatchIntoCartRequest;
import com.dq.vo.baseVo.VO;
import com.dq.domain.goods.Product;
import com.dq.domain.goods.ShoppingBag;

import java.util.List;

public interface ShoppingService {

    ShoppingBag intoMyCart(Product product, Long number);

    ShoppingBag setProductNumber(Product good, long number);

    VO myCart();

    VO batchIntoMyCart(List<BatchIntoCartRequest> list) throws AdminException;

}
